package com.anjubao.parking.municipal.roadside.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 充电桩返回码
 *
 * @author zhu.chunfeng
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "DeviceRegisterResultDto", description = "设备注册结果返回值dto")
@ToString
public class DeviceRegisterResultDto {

    @ApiModelProperty(value = "命令字符串")
    private String cmd;

    @ApiModelProperty(value = "设备号（唯一），设备设置或平台分配")
    private String devid;

    @ApiModelProperty(value = "设备类型")
    private String devtype;

    @ApiModelProperty(value = "泊位号（唯一），实际泊位编号")
    private String id;

    @ApiModelProperty(value = "应答状态 1:成功 0:异常")
    private String respsonse;

    @ApiModelProperty(value = "应答异常原因说明")
    private String reason;
}
